import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "./index.scss";
import "./mock";
import { Provider } from "react-redux";
import { store } from "./store";
import App from "./App.tsx";
import zhCN from "antd/locale/zh_CN";
import { ConfigProvider } from "antd";

createRoot(document.getElementById("root") as HTMLElement).render(
  <StrictMode>
    <Provider store={store}>
      <ConfigProvider locale={zhCN}>
        <App />
      </ConfigProvider>
    </Provider>
  </StrictMode>
);
